<!-- 单文件组件核心模板骨架 -->
<template>
	<div>
		<img src="./assets/logo.png" alt="logo">
		<School></School>
		<Student></Student>
	</div>
</template>

<script>
	//第一步创建定义组件(再引入其他组件)
	import School from './components/School'
	import Student from './components/Student'

	export default {
		//这里的name对应vue开发者工具里面的组件标签(并不代表其他的组件引用时会用这个名字)
		name:'App',
		components:{
			// 注册了两个子组件
			School,
			Student
		}
	}
</script>
